import request from "../utils/request.js"


export default {
	// 轮播图
	Carousel() {
		return request({
			url: "/superhero/index/carousel/list?qq=lee62470923",
			method: "POST"
		})
	},
	// 热门超英
	SuperHero() {
		return request({
			url: "/superhero/index/movie/hot?type=superhero&qq=lee62470923",
			method: "POST"
		})
	},
	//热门预告
	Trailer() {
		return request({
			url: "/superhero/index/movie/hot?type=trailer&qq=lee62470923",
			method: "POST"
		})
	},
	// 猜你喜欢
	GuessULike() {
		return request({
			url: "/superhero/index/guessULike?qq=lee62470923",
			method: "POST"
		})
	},
	//获取影片详情
	SearchTrailer(id) {
		return request({
			url: "/superhero/search/trailer/"+id+"/?qq=lee62470923",
			method: "POST"
		})
	},
	//查询演职人员
	Staff(trailerId) {
		return request({
			url: "/superhero/search/staff/"+trailerId+"/2?qq=lee62470923",
			method: "POST"
		})
	},
}
